module.exports = {
  password(req,res){
    let openid  = req.session.wechat.openid;
    let phone  = req.session.user.phone;
    res.view('pages/password/password', {
      title: '企业口令',
      openid,phone
    })
  },
  /**
   * 申请新口令
   * @param req
   * @param res
   */
  apply(req,res){
    res.view('pages/password/apply', {
      title: '企业口令',
    })
  },
  /**
   * 新增口令
   * @param req
   * @param res
   */
  generate(req,res){
    res.view('pages/password/generate', {
      title: '企业口令',
    })
  },

}
